package com.zdy.boot.upload.domain;

import lombok.Data;

import java.util.List;
import java.util.stream.Collectors;

@Data
public class PicRequest {

    private String batchId;
    private List<PicEntity> picList;

    public String getPicName() {
        return picList.stream().map(PicEntity::getFileName).collect(Collectors.joining(","));
    }

}
